CC = gcc
CFLAGS = -Wall -g -I./inc
LDFLAGS = -lpthread -lmysqlclient -lm


SOURCES = $(wildcard src/*.c)
TARGET = server

$(TARGET): $(SOURCES)
	$(CC) $(CFLAGS) $(SOURCES) -o $(TARGET) $(LDFLAGS)

clean:
	rm -f $(TARGET) 

.PHONY: clean